package com.company.cloud.coupon.modules.mgr.controller.req;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.company.cloud.common.bean.BaseParam;
import com.company.cloud.coupon.constant.CouponConstant.CouponUserObjType;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class CouponSendParam extends BaseParam {

	@ApiModelProperty(value = "发送对象分类[CouponUserObjType]", required = true)
	@NotEmpty(message = "发送对象分类不能为空")
	private String sendObjType=CouponUserObjType.User_CouponObj.getCode();

	@ApiModelProperty(value = "发送对象", required = true)
	@NotEmpty(message = "发送对象不能为空")
	private String sendObj="0";

	@ApiModelProperty(value = "优惠券配置ID", required = true)
	@NotNull(message = "优惠券配置ID不能为空")
	private Integer couponConfigId;

	@ApiModelProperty(value = "备注")
	private String remark;

}